OPTN\Admin\RestAdmin C

Total Complexity 115
Dependencies 13
Dependents 1
Total lines 835
Lines of code 605
Logical lines of code 231
Comment lines 91
Methods 27
Properties 1

Methods 27

Method Rating Maintainability Complexity Lines of code
handle_save_post()
A
50 16 23
register_routes()
A
29
1 220
handle_download_assets()
A
42 7 56
handle_get_archive_pages()
A
48 7 34
shortcode_support()
S
51 7 25
handle_support_ticket()
S
52 7 23
handle_get_posts()
S
63 8 8
handle_get_image_assets()
S
60 7 11
shortcode_content()
S
46 5 39
handle_delete_post()
S
58 6 13
handle_get_products()
S
46 2 46
handle_get_rule_values()
S
65 5 7
handle_get_video_assets()
S
62 5 10
handle_delete_leads()
S
60 4 12
handle_get_leads()
S
70 4 5
handle_duplicate_optin()
S
59 3 14
handle_get_preset()
S
67 3 7
handle_update_settings()
S
64 3 8
handle_restore_post()
S
63 3 9
handle_reset_post()
S
63 3 9
handle_get_post()
S
71 2 5
handle_get_rule_options()
S
71 2 5
__construct()
S
77 1 4
handle_get_presets()
S
80 1 3
handle_get_templates()
S
80 1 3
handle_get_settings()
S
79 1 3
permission_callback()
S
80 1 3